Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update donut clusters on source data (DHIS2-11923) #403

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

turban
Copy link
Collaborator

@turban turban commented Oct 4, 2021

Fixes: https://jira.dhis2.org/browse/DHIS2-11923

This PR makes sure the donut clusters are updated when the layer data source is changed. Waiting for evt.isSourceLoaded is not reliable, and we keep the listener until the layer is removed.

The maplibe-gl dependency is upgraded to latest 1.15.x version.

After this PR all donut cluster are shown when the layer is loaded:

Screenshot 2021-10-04 at 15 15 26

Before only the single events where displayed before map interaction:

Screenshot 2021-10-04 at 15 16 09

@turban turban merged commit 17ea982 into master Oct 4, 2021
@turban turban deleted the fix/DHIS2-11923 branch October 4, 2021 13:24
dhis2-bot added a commit that referenced this pull request Oct 4, 2021
## [2.1.4](v2.1.3...v2.1.4) (2021-10-04)

### Bug Fixes

* update donut clusters on source data ([#403](#403)) ([17ea982](17ea982))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 2.1.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants